package com.context.Main;

import com.impl.userdatas.accountNums.AccountNumbersImpl;
import com.impl.userdatas.users.UsersList;
import com.mInterface.Userdata.UserDatasInterface;

public class AdminContext {
	private static UserDatasInterface UDI;

	public final static int TYPE_ADMIN_USER_LIST = 0;

	public final static int TYPE_USER_COUNT_LIST = 1;

	public static  UserDatasInterface getUserDatasInstance( int type ){

		switch (type) {

		case TYPE_ADMIN_USER_LIST:

			UDI = null;

			UDI = new UsersList();

			break;

		case TYPE_USER_COUNT_LIST:

			UDI = null;

			UDI = new AccountNumbersImpl();

			break;

		default:
			break;
		}

		return UDI;
	}
}
